#include "cust_myaccount_showinfo.h"
#include "ui_cust_myaccount_showinfo.h"

cust_myaccount_showinfo::cust_myaccount_showinfo(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::cust_myaccount_showinfo)
{
    ui->setupUi(this);
}

void cust_myaccount_showinfo::initCustMyaccountBox(const QString &telnumber, const QString &address, const QString &balance, const QString &islost, const QString &accstatus)
{
    ui->telnumber_text->setText(telnumber);
    ui->address_text->setText(address);
    ui->balance_text->setText(balance);
    ui->lost_status->setText(islost);
    ui->account_status->setText(accstatus);
}

cust_myaccount_showinfo::~cust_myaccount_showinfo()
{
    delete ui;
}
